package study.三种方式实现生产者消费者模式.waitAndNotify;

public class ba {
	public static void main(String[] args) {
		System.out.print(b());
	}
	static int b()
	{
		int ret=0;
		int a =0;
		try {
			
		
		++a;
		System.err.print(a );
		ret=a;
//		return a; 
		} catch (Exception e) {
			// TODO: handle exception
		}
		finally{
			System.out.print(++a);
		}
		return ret;
	}

}
